import request from "@/utils/request";
import { parseStrEmpty } from "@/utils/ruoyi";

// 下游公司对账单分页查询
export function queryDownCompanyBillByPage(data) {
  return request({
    url: "/report/account/v1.0.0/queryDownCompanyBillByPage",
    method: "post",
    data: data,
  });
}
// 下游产品对账单分页查询
export function queryDownProductBillByPage(data) {
  return request({
    url: "/report/account/v1.0.0/queryDownProductBillByPage",
    method: "post",
    data: data,
  });
}
// 上游公司对账单分页查询
export function queryUpCompanyBillByPage(data) {
  return request({
    url: "/report/account/v1.0.0/queryUpCompanyBillByPage",
    method: "post",
    data: data,
  });
}
// 上游渠道对账单分页查询
export function queryUpProductBillByPage(data) {
  return request({
    url: "/report/account/v1.0.0/queryUpProductBillByPage",
    method: "post",
    data: data,
  });
}


// 下游产品对账单数据修正
export function updateDownProductBillAmend(data) {
  return request({
    url: "/report/account/v1.0.0/updateDownProductBillAmend",
    method: "post",
    data: data,
  });
}
// 上游渠道对账单数据修正
export function updateUpProductBillAmend(data) {
  return request({
    url: "/report/account/v1.0.0/updateUpProductBillAmend",
    method: "post",
    data: data,
  });
}
// 下游渠道对账单数据确认
export function updateDownProductBillConfirm(data) {
  return request({
    url: "/report/account/v1.0.0/updateDownProductBillConfirm",
    method: "post",
    data: data,
  });
}

// 上游渠道对账单数据确认
export function updateUpProductBillConfirm(data) {
  return request({
    url: "/report/account/v1.0.0/updateUpProductBillConfirm",
    method: "post",
    data: data,
  });
}
